<template>
  <div class="admin-page">
    <h1>{{ msg }}</h1>
    <h2>仅登录角色为管理员可见</h2>
    <router-link to="/home">返回首页</router-link>
  </div>
</template>

<script>
export default {
  name: "AdminPage",
  props:['msg']
}
</script>

<style scoped>
.admin-page{
  padding-top: 60px;
}
</style>
